package com.zhixiang.xaec.entity.safebase.constructionproject;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;
/**
 * 
 * @author guopan 
 * @version 2016-12-13
 * 
 */
@Entity
@Table(name = "BASE_ConstructionProject")
@Comment("项目管理")
public class ConstructionProject extends BaseEntity {

	@Comment("项目名称")
	@Column(length=500)
	private String projectName;
	
	@Comment("施工方")
	@Column(length=500)
	private String contractor;
	
	@Comment("项目开始时间")
	private Date startDate;
	
	@Comment("项目结束时间")
	private Date endDate;
	
	//Column 中配置项的功能是限制小数点后保留两位小数
	@Comment("合同金额")
//	@Column(columnDefinition="double(10,2) default '0.00'")
	private Double contractAmount;
	
	@Comment("项目基本情况")
	@Column(length=1000)
	private String basicSituation;
	
	@Comment("安全负责人")
	@Column(length=500)
	private String safetyManager;
	
	@Comment("总结报告")
	@Column(length=1000)
	private String summary;
	
	@Comment("实施阶段")
	@Column(length=500)
	private String stage;
	
	//启动————————————————
	@Comment("启动时间")
	private Date startTime;
	
	@Comment("安全记录")
	@Column(length=1000)
	private String startRecord;
	
	@Comment("管理措施")
	@Column(length=1000)
	private String startMeasure;
	
	@Comment("启动备注")
	@Column(length=1000)
	private String startRemark;
	
	//实施————————————————
	@Comment("安全记录")
	@Column(length=1000)
	private String implementRecord;
	
	@Comment("实施备注")
	@Column(length=1000)
	private String implementRemark;
	
	//检查————————————————
	@Comment("检查时间")
	private Date checkTime;
	
	@Comment("检查人/部门")
	@Column(length=500)
	private String checkUnit;
	
	@Comment("检查记录")
	@Column(length=1000)
	private String checkRecord;
	
	@Comment("检查备注")
	@Column(length=1000)
	private String checkRemark;
	
	//验收————————————————
	@Comment("验收时间")
	private String acceptTime;
	
	@Comment("验收人/部门")
	@Column(length=500)
	private String acceptUnit;
	
	@Comment("验收结论")
	@Column(length=1000)
	private String acceptConclusion;
	
	@Comment("验收备注")
	@Column(length=1000)
	private String acceptRemark;
	

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getContractor() {
		return contractor;
	}

	public void setContractor(String contractor) {
		this.contractor = contractor;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getBasicSituation() {
		return basicSituation;
	}

	public void setBasicSituation(String basicSituation) {
		this.basicSituation = basicSituation;
	}

	public String getSafetyManager() {
		return safetyManager;
	}

	public void setSafetyManager(String safetyManager) {
		this.safetyManager = safetyManager;
	}

	public String getStage() {
		return stage;
	}

	public void setStage(String stage) {
		this.stage = stage;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public Double getContractAmount() {
		return contractAmount;
	}

	public void setContractAmount(Double contractAmount) {
		this.contractAmount = contractAmount;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getStartRecord() {
		return startRecord;
	}

	public void setStartRecord(String startRecord) {
		this.startRecord = startRecord;
	}

	public String getStartMeasure() {
		return startMeasure;
	}

	public void setStartMeasure(String startMeasure) {
		this.startMeasure = startMeasure;
	}

	public String getStartRemark() {
		return startRemark;
	}

	public void setStartRemark(String startRemark) {
		this.startRemark = startRemark;
	}

	public String getImplementRecord() {
		return implementRecord;
	}

	public void setImplementRecord(String implementRecord) {
		this.implementRecord = implementRecord;
	}

	public String getImplementRemark() {
		return implementRemark;
	}

	public void setImplementRemark(String implementRemark) {
		this.implementRemark = implementRemark;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getCheckUnit() {
		return checkUnit;
	}

	public void setCheckUnit(String checkUnit) {
		this.checkUnit = checkUnit;
	}

	public String getCheckRecord() {
		return checkRecord;
	}

	public void setCheckRecord(String checkRecord) {
		this.checkRecord = checkRecord;
	}

	public String getCheckRemark() {
		return checkRemark;
	}

	public void setCheckRemark(String checkRemark) {
		this.checkRemark = checkRemark;
	}

	public String getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(String acceptTime) {
		this.acceptTime = acceptTime;
	}

	public String getAcceptUnit() {
		return acceptUnit;
	}

	public void setAcceptUnit(String acceptUnit) {
		this.acceptUnit = acceptUnit;
	}

	public String getAcceptConclusion() {
		return acceptConclusion;
	}

	public void setAcceptConclusion(String acceptConclusion) {
		this.acceptConclusion = acceptConclusion;
	}

	public String getAcceptRemark() {
		return acceptRemark;
	}

	public void setAcceptRemark(String acceptRemark) {
		this.acceptRemark = acceptRemark;
	}

	
}
